<script setup lang="ts">
import { counterStore } from "@/stores/counter";

const store = counterStore();
</script>

<template>
  <h1>显示当前的全局状态</h1>
  <h2>{{ store.count }}</h2>
</template>

<style scoped></style>
